.class Lcom/openfeint/internal/ui/WebViewCache$3;
.super Landroid/os/Handler;
.source "WebViewCache.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/openfeint/internal/ui/WebViewCache;-><init>(Landroid/content/Context;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/openfeint/internal/ui/WebViewCache;


# direct methods
.method constructor <init>(Lcom/openfeint/internal/ui/WebViewCache;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/openfeint/internal/ui/WebViewCache$3;->this$0:Lcom/openfeint/internal/ui/WebViewCache;

    .line 402
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public dispatchMessage(Landroid/os/Message;)V
    .locals 4
    .parameter "msg"

    .prologue
    const/4 v3, 0x1

    const/4 v2, 0x0

    .line 409
    iget v0, p1, Landroid/os/Message;->what:I

    packed-switch v0, :pswitch_data_0

    .line 426
    .end local p0
    :goto_0
    return-void

    .line 411
    .restart local p0
    :pswitch_0
    const-string v0, "WebViewCache"

    const-string v1, "kServerManifestReady"

    invoke-static {v0, v1}, Lcom/openfeint/internal/OpenFeintInternal;->log(Ljava/lang/String;Ljava/lang/String;)V

    .line 412
    iget-object v1, p0, Lcom/openfeint/internal/ui/WebViewCache$3;->this$0:Lcom/openfeint/internal/ui/WebViewCache;

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/openfeint/internal/ui/WebViewCache$ManifestData;

    iput-object v0, v1, Lcom/openfeint/internal/ui/WebViewCache;->serverManifest:Lcom/openfeint/internal/ui/WebViewCache$ManifestData;

    .line 413
    iget-object v0, p0, Lcom/openfeint/internal/ui/WebViewCache$3;->this$0:Lcom/openfeint/internal/ui/WebViewCache;

    #calls: Lcom/openfeint/internal/ui/WebViewCache;->triggerUpdates()V
    invoke-static {v0}, Lcom/openfeint/internal/ui/WebViewCache;->access$7(Lcom/openfeint/internal/ui/WebViewCache;)V

    goto :goto_0

    .line 416
    :pswitch_1
    iget-object v0, p0, Lcom/openfeint/internal/ui/WebViewCache$3;->this$0:Lcom/openfeint/internal/ui/WebViewCache;

    iget-object p0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    .end local p0
    check-cast p0, Ljava/lang/String;

    iget v1, p1, Landroid/os/Message;->arg1:I

    if-lez v1, :cond_0

    move v1, v3

    :goto_1
    #calls: Lcom/openfeint/internal/ui/WebViewCache;->finishItem(Ljava/lang/String;Z)V
    invoke-static {v0, p0, v1}, Lcom/openfeint/internal/ui/WebViewCache;->access$8(Lcom/openfeint/internal/ui/WebViewCache;Ljava/lang/String;Z)V

    goto :goto_0

    :cond_0
    move v1, v2

    goto :goto_1

    .line 419
    .restart local p0
    :pswitch_2
    iget-object v0, p0, Lcom/openfeint/internal/ui/WebViewCache$3;->this$0:Lcom/openfeint/internal/ui/WebViewCache;

    iget-object p0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    .end local p0
    check-cast p0, Ljava/util/Set;

    iget v1, p1, Landroid/os/Message;->arg1:I

    if-lez v1, :cond_1

    move v1, v3

    :goto_2
    #calls: Lcom/openfeint/internal/ui/WebViewCache;->finishItems(Ljava/util/Set;Z)V
    invoke-static {v0, p0, v1}, Lcom/openfeint/internal/ui/WebViewCache;->access$9(Lcom/openfeint/internal/ui/WebViewCache;Ljava/util/Set;Z)V

    goto :goto_0

    :cond_1
    move v1, v2

    goto :goto_2

    .line 422
    .restart local p0
    :pswitch_3
    iget-object v1, p0, Lcom/openfeint/internal/ui/WebViewCache$3;->this$0:Lcom/openfeint/internal/ui/WebViewCache;

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Ljava/util/Map;

    iput-object v0, v1, Lcom/openfeint/internal/ui/WebViewCache;->clientManifest:Ljava/util/Map;

    .line 423
    iget-object v0, p0, Lcom/openfeint/internal/ui/WebViewCache$3;->this$0:Lcom/openfeint/internal/ui/WebViewCache;

    #calls: Lcom/openfeint/internal/ui/WebViewCache;->triggerUpdates()V
    invoke-static {v0}, Lcom/openfeint/internal/ui/WebViewCache;->access$7(Lcom/openfeint/internal/ui/WebViewCache;)V

    goto :goto_0

    .line 409
    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method
